package cn.com.netedge.iot.common.dataobject;

import java.util.Date;

public class DeviceRunningInfo {
    /** 设备号*/
    private String deviceNumber;
    /** 设备类型*/
    private int deviceType = -1;
    private int curStatus;
    private int oldStatus = -1;
    private Date onlineTime;
    private Date oldOnlineTime;
    private Date lastDataTime;
    private Integer deviceId;
    private String machineName;

    public String getDeviceNumber() {
        return deviceNumber;
    }

    public void setDeviceNumber(String deviceNumber) {
        this.deviceNumber = deviceNumber;
    }

    public int getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(int deviceType) {
        this.deviceType = deviceType;
    }

    public int getCurStatus() {
        return curStatus;
    }

    public void setCurStatus(int curStatus) {
        this.curStatus = curStatus;
    }

    public int getOldStatus() {
        return oldStatus;
    }

    public void setOldStatus(int oldStatus) {
        this.oldStatus = oldStatus;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public Date getOldOnlineTime() {
        return oldOnlineTime;
    }

    public void setOldOnlineTime(Date oldOnlineTime) {
        this.oldOnlineTime = oldOnlineTime;
    }

    public Date getLastDataTime() {
        return lastDataTime;
    }

    public void setLastDataTime(Date lastDataTime) {
        this.lastDataTime = lastDataTime;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public String getMachineName() {
        return machineName;
    }

    public void setMachineName(String machineName) {
        this.machineName = machineName;
    }
}
